/**   
 * Copyright © 2019 eSunny Info. Tech Ltd. All rights reserved.
 * 
 * @Description:TODO(功能)
 * @className Providers.java
 * @Package: com.yj.erp.po 
 * @author: yj   
 * @date: 2019年1月14日 下午7:33:29 
 */
package com.erp.po;

import java.util.List;

/**
 * @className Providers.java
 * @author yj
 * @Description:TODO(供应商 pojo)
 * @Date 2019年1月14日
 */
public class Providers {

	private int providerId;  //供应商id
	private String providerName; //供应商名称
	private String providerAdd;  //供应商地址
	private String providerTel;  //供应商电话
	private String account;      //账户
	private String email;        //邮箱
	
	private List<Products> products; //商品

	public Providers() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Providers(int providerId) {
		super();
		this.providerId = providerId;
	}



	public Providers(String providerName, String providerAdd, String providerTel, String account, String email) {
		super();
		this.providerName = providerName;
		this.providerAdd = providerAdd;
		this.providerTel = providerTel;
		this.account = account;
		this.email = email;
	}

	public Providers(int providerId, String providerName, String providerAdd, String providerTel, String account,
			String email, List<Products> products) {
		super();
		this.providerId = providerId;
		this.providerName = providerName;
		this.providerAdd = providerAdd;
		this.providerTel = providerTel;
		this.account = account;
		this.email = email;
		this.products = products;
	}

	public Providers(int providerId, String providerName) {
		super();
		this.providerId = providerId;
		this.providerName = providerName;
	}

	public Providers(String providerName) {
		super();
		this.providerName = providerName;
	}

	public Providers(int providerId, String providerName, String providerAdd, String providerTel, String account,
			String email) {
		super();
		this.providerId = providerId;
		this.providerName = providerName;
		this.providerAdd = providerAdd;
		this.providerTel = providerTel;
		this.account = account;
		this.email = email;
	}

	public List<Products> getProducts() {
		return products;
	}

	public void setProducts(List<Products> products) {
		this.products = products;
	}

	public int getProviderId() {
		return providerId;
	}

	public void setProviderId(int providerId) {
		this.providerId = providerId;
	}

	public String getProviderName() {
		return providerName;
	}

	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}

	public String getProviderAdd() {
		return providerAdd;
	}

	public void setProviderAdd(String providerAdd) {
		this.providerAdd = providerAdd;
	}

	public String getProviderTel() {
		return providerTel;
	}

	public void setProviderTel(String providerTel) {
		this.providerTel = providerTel;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return "Providers [providerId=" + providerId + ", providerName=" + providerName + ", providerAdd=" + providerAdd
				+ ", providerTel=" + providerTel + ", account=" + account + ", email=" + email + ", products="
				+ products + "]";
	}

}
